Optimal. Leaf size=333 \[ -\frac{\sqrt{d+e x} \sqrt{f+g x} (e f-d g) \left (8 e g (6 a e g-b (d g+5 e f))+c \left (3 d^2 g^2+10 d e f g+35 e^2 f^2\right )\right )}{64 e^2 g^4}+\frac{(d+e x)^{3/2} \sqrt{f+g x} \left (8 e g (6 a e g-b (d g+5 e f))+c \left (3 d^2 g^2+10 d e f g+35 e^2 f^2\right )\right )}{96 e^2 g^3}+\frac{(e f-d g)^2 \tanh ^{-1}\left (\frac{\sqrt{g} \sqrt{d+e x}}{\sqrt{e} \sqrt{f+g x}}\right ) \left (8 e g (6 a e g-b (d g+5 e f))+c \left (3 d^2 g^2+10 d e f g+35 e^2 f^2\right )\right )}{64 e^{5/2} g^{9/2}}-\frac{(d+e x)^{5/2} \sqrt{f+g x} (-8 b e g+9 c d g+7 c e f)}{24 e^2 g^2}+\frac{c (d+e x)^{7/2} \sqrt{f+g x}}{4 e^2 g} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.788135, antiderivative size = 333, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.172 \[ -\frac{\sqrt{d+e x} \sqrt{f+g x} (e f-d g) \left (8 e g (6 a e g-b (d g+5 e f))+c \left (3 d^2 g^2+10 d e f g+35 e^2 f^2\right )\right )}{64 e^2 g^4}+\frac{(d+e x)^{3/2} \sqrt{f+g x} \left (8 e g (6 a e g-b (d g+5 e f))+c \left (3 d^2 g^2+10 d e f g+35 e^2 f^2\right )\right )}{96 e^2 g^3}+\frac{(e f-d g)^2 \tanh ^{-1}\left (\frac{\sqrt{g} \sqrt{d+e x}}{\sqrt{e} \sqrt{f+g x}}\right ) \left (8 e g (6 a e g-b (d g+5 e f))+c \left (3 d^2 g^2+10 d e f g+35 e^2 f^2\right )\right )}{64 e^{5/2} g^{9/2}}-\frac{(d+e x)^{5/2} \sqrt{f+g x} (-8 b e g+9 c d g+7 c e f)}{24 e^2 g^2}+\frac{c (d+e x)^{7/2} \sqrt{f+g x}}{4 e^2 g} \]
Antiderivative was successfully verified.
[In] Int[((d + e*x)^(3/2)*(a + b*x + c*x^2))/Sqrt[f + g*x],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 74.4476, size = 434, normalized size = 1.3 \[ \frac{b \left (d + e x\right )^{\frac{5}{2}} \sqrt{f + g x}}{3 e g} + \frac{c x \left (d + e x\right )^{\frac{5}{2}} \sqrt{f + g x}}{4 e g} - \frac{c \left (d + e x\right )^{\frac{5}{2}} \sqrt{f + g x} \left (3 d g + 7 e f\right )}{24 e^{2} g^{2}} + \frac{c \left (d + e x\right )^{\frac{3}{2}} \sqrt{f + g x} \left (3 d^{2} g^{2} + 10 d e f g + 35 e^{2} f^{2}\right )}{96 e^{2} g^{3}} + \frac{c \sqrt{d + e x} \sqrt{f + g x} \left (d g - e f\right ) \left (3 d^{2} g^{2} + 10 d e f g + 35 e^{2} f^{2}\right )}{64 e^{2} g^{4}} + \frac{c \left (d g - e f\right )^{2} \left (3 d^{2} g^{2} + 10 d e f g + 35 e^{2} f^{2}\right ) \operatorname{atanh}{\left (\frac{\sqrt{e} \sqrt{f + g x}}{\sqrt{g} \sqrt{d + e x}} \right )}}{64 e^{\frac{5}{2}} g^{\frac{9}{2}}} + \frac{\left (d + e x\right )^{\frac{3}{2}} \sqrt{f + g x} \left (6 a e g - b d g - 5 b e f\right )}{12 e g^{2}} + \frac{\sqrt{d + e x} \sqrt{f + g x} \left (d g - e f\right ) \left (6 a e g - b d g - 5 b e f\right )}{8 e g^{3}} + \frac{\left (d g - e f\right )^{2} \left (6 a e g - b d g - 5 b e f\right ) \operatorname{atanh}{\left (\frac{\sqrt{e} \sqrt{f + g x}}{\sqrt{g} \sqrt{d + e x}} \right )}}{8 e^{\frac{3}{2}} g^{\frac{7}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((e*x+d)**(3/2)*(c*x**2+b*x+a)/(g*x+f)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.573291, size = 306, normalized size = 0.92 \[ \frac{3 (e f-d g)^2 \log \left (2 \sqrt{e} \sqrt{g} \sqrt{d+e x} \sqrt{f+g x}+d g+e f+2 e g x\right ) \left (8 e g (6 a e g-b (d g+5 e f))+c \left (3 d^2 g^2+10 d e f g+35 e^2 f^2\right )\right )-2 \sqrt{e} \sqrt{g} \sqrt{d+e x} \sqrt{f+g x} \left (c \left (9 d^3 g^3+3 d^2 e g^2 (5 f-2 g x)+d e^2 g \left (-145 f^2+92 f g x-72 g^2 x^2\right )+e^3 \left (105 f^3-70 f^2 g x+56 f g^2 x^2-48 g^3 x^3\right )\right )-8 e g \left (6 a e g (5 d g-3 e f+2 e g x)+b \left (3 d^2 g^2+2 d e g (7 g x-11 f)+e^2 \left (15 f^2-10 f g x+8 g^2 x^2\right )\right )\right )\right )}{384 e^{5/2} g^{9/2}} \]
Antiderivative was successfully verified.
[In] Integrate[((d + e*x)^(3/2)*(a + b*x + c*x^2))/Sqrt[f + g*x],x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.041, size = 1207, normalized size = 3.6 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((e*x+d)^(3/2)*(c*x^2+b*x+a)/(g*x+f)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)*(e*x + d)^(3/2)/sqrt(g*x + f),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 1.8049, size = 1, normalized size = 0. \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)*(e*x + d)^(3/2)/sqrt(g*x + f),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x+d)**(3/2)*(c*x**2+b*x+a)/(g*x+f)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.299809, size = 605, normalized size = 1.82 \[ \frac{1}{192} \, \sqrt{{\left (x e + d\right )} g e - d g e + f e^{2}}{\left (2 \,{\left (4 \,{\left (x e + d\right )}{\left (\frac{6 \,{\left (x e + d\right )} c e^{\left (-3\right )}}{g} - \frac{{\left (9 \, c d g^{6} e^{6} + 7 \, c f g^{5} e^{7} - 8 \, b g^{6} e^{7}\right )} e^{\left (-9\right )}}{g^{7}}\right )} + \frac{{\left (3 \, c d^{2} g^{6} e^{6} + 10 \, c d f g^{5} e^{7} - 8 \, b d g^{6} e^{7} + 35 \, c f^{2} g^{4} e^{8} - 40 \, b f g^{5} e^{8} + 48 \, a g^{6} e^{8}\right )} e^{\left (-9\right )}}{g^{7}}\right )}{\left (x e + d\right )} + \frac{3 \,{\left (3 \, c d^{3} g^{6} e^{6} + 7 \, c d^{2} f g^{5} e^{7} - 8 \, b d^{2} g^{6} e^{7} + 25 \, c d f^{2} g^{4} e^{8} - 32 \, b d f g^{5} e^{8} + 48 \, a d g^{6} e^{8} - 35 \, c f^{3} g^{3} e^{9} + 40 \, b f^{2} g^{4} e^{9} - 48 \, a f g^{5} e^{9}\right )} e^{\left (-9\right )}}{g^{7}}\right )} \sqrt{x e + d} - \frac{{\left (3 \, c d^{4} g^{4} + 4 \, c d^{3} f g^{3} e - 8 \, b d^{3} g^{4} e + 18 \, c d^{2} f^{2} g^{2} e^{2} - 24 \, b d^{2} f g^{3} e^{2} + 48 \, a d^{2} g^{4} e^{2} - 60 \, c d f^{3} g e^{3} + 72 \, b d f^{2} g^{2} e^{3} - 96 \, a d f g^{3} e^{3} + 35 \, c f^{4} e^{4} - 40 \, b f^{3} g e^{4} + 48 \, a f^{2} g^{2} e^{4}\right )} e^{\left (-\frac{5}{2}\right )}{\rm ln}\left ({\left | -\sqrt{x e + d} \sqrt{g} e^{\frac{1}{2}} + \sqrt{{\left (x e + d\right )} g e - d g e + f e^{2}} \right |}\right )}{64 \, g^{\frac{9}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)*(e*x + d)^(3/2)/sqrt(g*x + f),x, algorithm="giac")
[Out]